
<html>
<head>

<!-- The JavaScript file contains the logic needed for this widget -->
<script type="text/javascript" src="Tools.js" charset="utf-8"></script>
<script type="text/javascript" src="SimpleHTTPRequest.js" charset="utf-8"></script>
<script type="text/javascript" src="UpdateCheck.js" charset="utf-8"></script>
<script type="text/javascript" src="Statistics.js" charset="utf-8"></script>
<script type="text/javascript" src="SMSEngineSunriseMail.js" charset="utf-8"></script>
<script type="text/javascript" src="SMSEngineSunrise.js" charset="utf-8"></script>
<script type="text/javascript" src="SMSEngineCablecom.js" charset="utf-8"></script>
<script type="text/javascript" src="SMSunrise3.js" charset="utf-8"></script>
<script type="text/javascript" src="file:///System/Library/WidgetResources/button/genericButton.js"></script>

    <style type="text/css">@import "SMSunrise3.css";</style>
	
<script type="text/javascript" src="Parts/utilities.js" charset="utf-8"></script>
<script type="text/javascript" src="Parts/setup.js" charset="utf-8"></script>

<script type="text/javascript" src="Parts/Text.js" charset="utf-8"></script>
</head>
<body onload="setup();">

	<div id="front" onmousemove="mousemove(event);" onmouseout="mouseexit(event);">
		<div id="receiver_auto_complete">
		</div>

	<input type="search" value="" placeholder="" results="10" class="apple-textfield apple-no-children" apple-part="com.apple.Dashcode.part.searchfield" id="receiver_text_area" apple-group="searchfield" incremental="incremental" onchange="searchContacs(event)" onkeydown="keyEvent(event)" onkeyup="keyEvent(event)" onsearch="searchContacs(event)" onselect="searchContacs(event)" apple-locked="true">

	

		
		

		<textarea id="message_text_area" value="" onkeyup="countChars(event)" ondrop="countChars(event)" onfocus="mainTextFocusEvent(event)" onchange="countChars(event)" apple-locked="true"></textarea>
		

		<div id="send"></div>
		<div id="new"></div>

		<div class="label" id="available_chars"></div>
		<img id="sending" src="images/sending/sending_1.png">
		<div id="sent"></div>
		<div id="error"></div>
		<img id="sms_light" src="images/greenlight.tiff">
		<div class="label" id="available_sms"></div>
		<div id="retry">
		    <a href="#" onclick="getAvailableSMS();">
<img id="retry_image" src="images/retry.gif">
</a>
		</div>
		
		

		<div class="flip" id="flip" onclick="showBack(event);" onmouseover="enterflip(event);" onmouseout="exitflip(event);"></div>
		<div class="flip" id="fliprollie"></div>
	

	

	</div>

	<div id="back">
		<select id="menu1" onchange="donation.style.visibility='hidden';phoneBookSettings.style.visibility='hidden';account_settings.style.visibility='hidden';skins.style.visibility='hidden';misc.style.visibility='hidden';getElementById(this.value).style.visibility='visible';" style="font-size:10px;">
			<option value="account_settings">Account Settings</option>
			<option value="phoneBookSettings">Phone Book</option>
			<option value="skins">Skins</option>
			<option value="misc">Misc</option>
			<option value="donation">Donate</option>
		</select>
		
		

<div id="donation">
<table>
<tbody>
<tr>
<td class="tableLabel">If you like our widget, if you really enjoy it, think about donations! Support us to Support you better, to add new exciting feature and make this widget even better!<br>
</td>
</tr>
<tr>
<td class="tableLabel">
<div id="donation-Link" class="label">
<span href="http://www.mysunrise.ch" style="text-decoration: underline;" onclick="widget.openURL('https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=elia%2epalme%40gmail%2ecom&amp;item_name=SMSunrise%20Thanks%20to%20Support%20us%20to%20Support%20you&amp;no_shipping=0&amp;return=http%3a%2f%2fcode%2egoogle%2ecom%2fp%2fsmsunrise%2fwiki%2fThanks&amp;cn=Remarks%3a&amp;tax=0&amp;currency_code=CHF&amp;lc=CH&amp;bn=PP%2dDonationsBF&amp;charset=UTF%2d8');donate='donate';setTimeout('TrackWidget(donate)',100);">
<img src="images/donate.gif">
</span>
</div>
</td>
</tr>
</tbody>
			</table>

</div>
		
		
		<div id="phoneBookSettings">
			<table>
			<tbody>
			    <tr>
<td class="tableLabel" colspan="2">This option enable you to filter the result of the phone book search. It only shows the phone numbers of the specified type.</td>
</tr>
						<tr>
						    <td class="tableLabel">Enable phone number filter:</td>
						<td>
<input id="phoneBookSettingsCheckBox" type="checkbox">
</td>
						</tr>
			<tr>
			    <td class="tableLabel">Set the phone number type:</td>
			<td>
<input id="phoneBookSettingsField" type="text" maxlength="50" size="10" value="mobile">
</td>
			</tr>
			</tbody>
			</table>	
		</div>
		
		
		<div id="account_settings">
			<table>
			<tbody>
				<tr>
					<td class="tableLabel">SMS provider:</td>
					<td>
						<select id="SMSEngine_text_field" style="font-size:10px;">
							<option value="SunriseMail">Sunrise Mail</option>
							<option value="Cablecom">HiSpeed (Cablecom)</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="tableLabel">Username:</td>
					<td>
					    <input id="username_text_field" type="text" maxlength="50">
					</td>
				</tr>
				<tr>
					<td class="tableLabel">Password:</td>
					<td>
					    <input type="password" id="password_text_field">
					</td>
				</tr>
				<tr>
					<td class="tableLabel" colspan="2">If you don't own an account, you can subscribe to:
					<div id="">
 <span href="http://www.mysunrise.ch" style="text-decoration: underline;" onclick="widget.openURL('http://partnerpage.google.com/sunrise.ch')">SunriseMail</span> or
 <span href="http://your.hispeed.ch" style="text-decoration: underline;" onclick="widget.openURL('http://your.hispeed.ch/')">HiSpeed</span>.
 </div>
					</td>
				</tr>
			</tbody>
			</table>			
		</div>
		<div id="skins">
			<img style="position:absolute;left:87px;top:57px;" src="images/skins_menu.png" width="155" height="72" border="0" alt="" usemap="#skins_menu_Map">
			<map name="skins_menu_Map">
				<area shape="rect" alt="" coords="105,42,129,65" onclick="set_skin('white');">
				<area shape="rect" alt="" coords="64,42,90,65" onclick="set_skin('dark');">
				<area shape="rect" alt="" coords="24,42,50,65" onclick="set_skin('black');">
				<area shape="rect" alt="" coords="124,2,150,25" onclick="set_skin('green');">
				<area shape="rect" alt="" coords="84,2,110,25" onclick="set_skin('pink');">
				<area shape="rect" alt="" coords="44,2,70,25" onclick="set_skin('red');">
				<area shape="rect" alt="" coords="4,2,30,25" onclick="set_skin('blue');">
			</map>
			<img id="check" src="images/check.png">
		</div>
		<div id="misc">
			<div class="label" id="prefs_label">
				<input id="vibration_checkbox" type="checkbox" onclick="vibration=this.checked;setInstanceAndGlobalPreferenceForKey(vibration, kVibrationKey);">
				<span onclick="vibration_checkbox.checked=!vibration_checkbox.checked;vibration=vibration_checkbox.checked;setInstanceAndGlobalPreferenceForKey(vibration, kVibrationKey);">Widget vibration</span>
				<br>
				<input id="delete_message_checkbox" type="checkbox" onclick="delete_message=this.checked;setInstanceAndGlobalPreferenceForKey(delete_message, kDeleteMessageKey);">
				<span onclick="delete_message_checkbox.checked=!delete_message_checkbox.checked;delete_message=delete_message_checkbox.checked;setInstanceAndGlobalPreferenceForKey(delete_message, kDeleteMessageKey);">Clear sent messages</span>
			</div>
		</div>
		

		
		<div class="label" id="version">Version 3.5E</div>
		<div id="done"></div>
	<div id="logoCode" class="label" onclick="widget.openURL('http://code.google.com/p/smsunrise/')">http://code.google.com/p/smsunrise</div>

	</div>

	


</body>
</html>